package com.bdqn.dao;

import com.bdqn.entity.CheckWork;
import com.bdqn.entity.Employee;

import java.util.List;

public interface AdminQueryDao {
    int findByAll();

    List<CheckWork> findByPage(int offset, int pageSize);

    int addway(int week, int depId, String start, String end);

    int updateway(int week, int depId, String start, String end);

    int findway(int week, int depId);

    int findByCondition(String empId, int depId, String start, String end);

    List<CheckWork> FindPageQueryByCond(int offset, int pageSize, String empId, int depId, String start, String end);

    List<Employee> findEmp();

    int finByIdAndDate(String empId, String date);

    int insert(String empId, String date);
}
